import axios from '@/libs/api.request'

// 系统用户列表
export const getSystemUserList = (data) => {
  return axios.request({
    url: 'SysUser/GetSysUserPageList',
    method: 'post',
    data
  })
}

// 系统角色用户列表
export const getSystemUserTypeList = () => {
  return axios.request({
    url: 'SysUserType/GetSysUserTypeList',
    method: 'post'
  })
}

// 系统菜单列表
export const getSystemMenuList = (data) => {
  return axios.request({
    url: 'SysMenu/GetSysMenu',
    method: 'post',
    data
  })
}

// app用户列表
export const getUserList = (data) => {
  return axios.request({
    url: 'User/GetUserPageList',
    method: 'post',
    data
  })
}
